<div class="bjui-pageContent tableContent">
    <form action="__URL__/up/navTabId/{:CONTROLLER_NAME}/re/index" class="pageForm" data-toggle="validate">
		<input type="hidden" name="id" value="{$id}">
        <div class="pageFormContent" data-layout-h="0">
          <table data-toggle="tablefixed" data-width="100%" data-height="10%" data-layout-h="0" data-nowrap="true">
          <thead>
            <tr>
          <th>订单id</th>
          <th>借款时间</th>
          <th>还款时间</th>
          <th>续期次数</th>
          <th>还款方式</th>
          </tr>
          </thead>
          <tbody>      
         <foreach name="msg" item="v">
          <foreach name="v[0]" item="s">
            <tr><td>{$v['order_id']}</td><td>{:date('Y-m-d H:i:s',$v['loan_time'])}</td><td>{:date('Y-m-d H:i:s',$s['k_time'])}</td><td>{$v[1]}</td><if condition="$s['trans_type'] == 2"><td>自己交易</td><elseif condition="$s['trans_type'] == 1" /><td>系统扣款</td><else /></if></tr>
          </foreach>
         </foreach>
        </tbody>
      </table>
        </div>
    </form>
</div>
<!-- <div class="bjui-pageFooter">
    <ul>
       <li><button type="button" class="btn-close" data-icon="close">取消</button></li>
       <li><button type="submit" class="btn-default" data-icon="save">保存</button></li>
    </ul>
</div> -->